package com.vic.filedb.mongo.service;

import com.vic.filedb.mongo.common.exception.FileServerException;
import com.vic.filedb.mongo.entity.File;
import org.springframework.web.multipart.MultipartFile;

public interface FileService {
    String upload(MultipartFile file) throws FileServerException;

    File getFileById(String fileId);
}